home *** CD-ROM | disk | FTP | other *** search
/ Game Programming in C++ - Start to Finish / GameProgrammingS.iso / Peon / PeonSDK-Win32-1.0.0.exe / {app} / PeonMain / include / CEGUI / renderers / IrrlichtRenderer / IrrlichtResourceProvider.h < prev    next >
Encoding:
C/C++ Source or Header  |  2005-09-07  |  2.2 KB  |  54 lines

  1. /************************************************************************
  2. filename:     IrrlichtResourceProvider.h
  3. created:    12/22/2004
  4. author:        Thomas Suter
  5.  
  6. purpose:    DImplements the Resource Provider common functionality
  7. *************************************************************************/
  8. /*************************************************************************
  9. Crazy Eddie's GUI System (http://www.cegui.org.uk)
  10. Copyright (C)2004 - 2005 Paul D Turner (paul@cegui.org.uk)
  11.  
  12. This library is free software; you can redistribute it and/or
  13. modify it under the terms of the GNU Lesser General Public
  14. License as published by the Free Software Foundation; either
  15. version 2.1 of the License, or (at your option) any later version.
  16.  
  17. This library is distributed in the hope that it will be useful,
  18. but WITHOUT ANY WARRANTY; without even the implied warranty of
  19. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  20. Lesser General Public License for more details.
  21.  
  22. You should have received a copy of the GNU Lesser General Public
  23. License along with this library; if not, write to the Free Software
  24. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  25. *************************************************************************/
  26. #ifndef _CEGUIIrrlichtResourceProvider_h_
  27. #define _CEGUIIrrlichtResourceProvider_h_
  28.  
  29. #include "IrrlichtRendererDef.h"
  30. #include "CEGUIResourceProvider.h"
  31. #include <IFileSystem.h>
  32. // Start of CEGUI namespace section
  33. namespace CEGUI
  34. {
  35.     class IRRLICHT_GUIRENDERER_API IrrlichtResourceProvider : public ResourceProvider
  36.     {
  37.     protected:
  38.         irr::io::IFileSystem* fsys;
  39.     public:
  40.         /*************************************************************************
  41.         Construction and Destruction
  42.         *************************************************************************/
  43.         IrrlichtResourceProvider(irr::io::IFileSystem* fsys_);
  44.  
  45.         ~IrrlichtResourceProvider(void) ;
  46.  
  47.         void loadRawDataContainer(const String& filename, RawDataContainer& output, const String& resourceGroup);
  48.         void unloadRawDataContainer(RawDataContainer& data);
  49.     };
  50.  
  51. } // End of  CEGUI namespace section
  52.  
  53. #endif    // end of guard _CEGUIIrrlichtResourceProvider_h_
  54.